package com.java2207.group1.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Lenovo 2022/7/26 11:43
 * 药库
 * 所有药品信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DrugStorage {

    private Integer id;              //药品编号

    private String name;            //药品名称

    private String placeorigin;   //药品生产商

    private String effect;          //药效

    private Integer inventory;       //库存

    private String pic;             //药品图片

    public DrugStorage(String name, Integer inventory) {
        this.name = name;
        this.inventory = inventory;
    }
}
